/** COPYRIGHT(C) 2008. Loc Phan. All Rights Reserved.
A class that store grade of a quiz
@author Loc Phan
@version 1.01 2008-11-26
*/
package edu.sjsu.cs.phan.hw6;

public class Quiz implements Measurable
{
   /**Constructs a quiz
    * 
    * @param i Score
    * @param string Grade
    */
   public Quiz(int i, String string)
   {
      score = i;
      grade = string;
   }
   /**Returns score
    * 
    */

   public double getMeasure()
   {
      
      return score;
   }
   /**Returns score
    * 
    * @return Score
    */
   public int getScore()
   {
      return score;
   }
   /**Returns grade
    * 
    * @return Grade
    */
   public String getGrade()
   {
      return grade;
   }
   private int score;
   private String grade;

}
